package com.comment;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@ComponentScan("com.comment.controller")
@ComponentScan("com.comment.service")
@MapperScan(basePackages = {"com.comment.mapper"})
@SpringBootApplication()
@EnableScheduling
public class LibraryCommentApplication {

    public static void main(String[] args) {
        SpringApplication.run(LibraryCommentApplication.class, args);
    }

}
